<div>
    <input type="text" ng-model="vm.name" /><br/>
    <input type="password" ng-model="vm.passwd" /><br/>
    <input type="button" value="登陆" ng-click="vm.login()" />

</div>